package com.bw.xiaosy.dao;


import com.bw.xiaosy.domain.UserRole;
import org.springframework.data.repository.CrudRepository;

/**
 * @author Xiaosy
 * @date 2017-03-17 17:36
 */
public interface UserRoleRepository extends CrudRepository<UserRole,Integer> {
    UserRole findByUserId(Integer userId);
}
